package com.huawei.appgallery.search.ui.node;

import android.content.Context;
import android.view.View;
import android.widget.LinearLayout;
import com.huawei.appgallery.search.ui.card.BaseCompositeCard;
import com.huawei.appgallery.search.ui.card.SearchCampaignCard;
import o.cuv.a;
import o.cuv.b;

public class SearchCampaignNode extends BaseCompositeNode {
    public SearchCampaignNode(Context context) {
        super(context);
    }

    public BaseCompositeCard ˋ() {
        return new SearchCampaignCard(this.ॱ);
    }

    protected void ॱ(View view) {
        if (view != null) {
            LinearLayout linearLayout = (LinearLayout) view.findViewById(b.ˋʻ);
            if (linearLayout != null) {
                linearLayout.setMinimumHeight(this.ॱ.getResources().getDimensionPixelSize(a.ͺ) - linearLayout.getPaddingBottom());
                linearLayout.setPaddingRelative(linearLayout.getPaddingStart(), linearLayout.getPaddingTop(), linearLayout.getPaddingEnd(), 0);
            }
        }
    }
}
